package com.ruoyi.canteen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐别对象 canteen_cb
 * 
 * @author zhangw
 * @date 2021-09-08
 */
public class CanteenCb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 餐别名 */
    @Excel(name = "餐别名")
    private String name;



    private String url;

    /** 门店编号 */
    @Excel(name = "门店编号")
    private Long mdId;

    /** 线上订餐开始时间 */
    @Excel(name = "线上订餐开始时间")
    private String startTime;

    /** 线上订餐结束时间 */
    @Excel(name = "线上订餐结束时间")
    private String endTime;

    /** 0 开放 1 不开放 */
    @Excel(name = "0 开放 1 不开放")
    private Long openFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMdId(Long mdId) 
    {
        this.mdId = mdId;
    }

    public Long getMdId() 
    {
        return mdId;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setOpenFlag(Long openFlag) 
    {
        this.openFlag = openFlag;
    }

    public Long getOpenFlag() 
    {
        return openFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("mdId", getMdId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("openFlag", getOpenFlag())
            .toString();
    }
}
